package com.agil.photoalbum.db.entities;

import java.util.HashSet;
import java.util.Set;

public class Category implements java.io.Serializable {

	private long categoryId;
	private User user;
	private Category category;
	private String categoryName;
	private Set<Category> categories = new HashSet<Category>(0);
	private Set<Picture> pictures = new HashSet<Picture>(0);

	public Category() {
	}

	public Category(long categoryId, User users, Category categories,
			String categoryName) {
		this.categoryId = categoryId;
		this.user = users;
		this.category = categories;
		this.categoryName = categoryName;
	}

	public Category(long categoryId, User users, Category categories,
			String categoryName, Set<Category> categorieses,
			Set<Picture> pictureses) {
		this.categoryId = categoryId;
		this.user = users;
		this.category = categories;
		this.categoryName = categoryName;
		this.categories = categorieses;
		this.pictures = pictureses;
	}

	public long getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(long categoryId) {
		this.categoryId = categoryId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User users) {
		this.user = users;
	}

	public Category getCategory() {
		return this.category;
	}

	public void setCategory(Category categories) {
		this.category = categories;
	}

	public String getCategoryName() {
		return this.categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Set<Category> getCategories() {
		return this.categories;
	}

	public void setCategories(Set<Category> categorieses) {
		this.categories = categorieses;
	}

	public Set<Picture> getPictures() {
		return this.pictures;
	}

	public void setPictures(Set<Picture> pictureses) {
		this.pictures = pictureses;
	}

}
